#pragma once
#include "Shader.h"

namespace Graphics
{
	class Texture;
}

namespace Graphics
{
class ParticleShader : public Shader
{
public:
	ParticleShader(void);
	virtual ~ParticleShader(void);
	bool Initialize();
	void Deinitialize();
	bool Render(int indexCount, D3DXMATRIX worldMatrix, D3DXMATRIX viewMatrix, D3DXMATRIX projectionMatrix, Texture* texture);

private:
	bool InitializeShader(HWND winHandle, const char* vertexShaderName, const char*  pixelShaderName);
	void DeinitializeShader();
	bool SetShaderParameters(D3DXMATRIX worldMatrix, D3DXMATRIX viewMatrix, D3DXMATRIX projectionMatrix, Texture* texture);
};
}